package guilayer;

import java.awt.BorderLayout;

import javax.swing.JPanel;
import javax.swing.JTabbedPane;

public class MainContent extends JPanel
{

	/**
	 * Create the panel.
	 */
	public MainContent()
	{
		JTabbedPane tabbedPane = new JTabbedPane(JTabbedPane.TOP);
		setLayout(new BorderLayout(0,0));
		add(tabbedPane, BorderLayout.CENTER);
		
		tabbedPane.addTab("Sale", new TabSale());
		tabbedPane.addTab("Rental", new TabRental());
		tabbedPane.addTab("Stock", new TabStock());
		tabbedPane.addTab("Customers", new TabCustomers());
		tabbedPane.addTab("Suppliers", new TabSuppliers());
		tabbedPane.addTab("Invoices", new TabInvoices());
	}

}
